package net.zjitc.controller;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiOperation;
import net.zjitc.model.domain.Allbloguser;
import net.zjitc.service.AllbloguserService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import java.util.List;

@RestController
@RequestMapping
public class SelectController {

    @Resource
    AllbloguserService allbloguserService;

//    @GetMapping("/select")
//    @ApiOperation(value = "测试联合查询")
//    public Page<Allbloguser> select(long currentPage, String title, Long userId,HttpServletRequest request) {
//        return allbloguserService.testselect(currentPage,title,userId);
//    }

    @GetMapping("/hello")
    public String hello() {
        return "Hello, World!";
    }
}
